﻿<Window x:Class="PaletteControlSampleApp.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
    Title="Window1" Height="340" Width="300">
    <Grid>
        <StackPanel>
            <GroupBox Header="HSB Palette">
                <StackPanel>
                    <d3:PaletteControl Name="paletteControl">
                    </d3:PaletteControl>

                    <Slider Name="startSlider" ValueChanged="startSlider_ValueChanged" Minimum="0" Maximum="360" Value="0"/>
                    <Slider Name="widthSlider" ValueChanged="widthSlider_ValueChanged" Minimum="0" Maximum="720" Value="360"/>
                </StackPanel>
            </GroupBox>
            
            <d3:PaletteControl Palette="{x:Static d3:UniformLinearPalettes.RedGreenBluePalette}" ShowAxis="False" PaletteHeight="100"/>
            <d3:PaletteControl Palette="{x:Static d3:UniformLinearPalettes.BlackAndWhitePalette}" ShowAxis="False" Height="60"/>
            <d3:PaletteControl Palette="{x:Static d3:UniformLinearPalettes.BlueOrangePalette}" ShowAxis="False"/>
        </StackPanel>
    </Grid>
</Window>
